<!-- TreeItem Demo -->
<template>
  <div>
    <van-radio-group v-model="radio">
      <my-trees :list="list"></my-trees>
    </van-radio-group>
  </div>
</template>
<script>
import myTrees from './TreeItem.vue'
export default {
  components: {
    myTrees
  },
  data () {
    return {
      radio: null,
      list: [
        {
          name: '黄焖鸡米饭111111111',
          cList: [
            { name: '二级黄焖' },
            {
              name: 'one chicken',
              cList: [
                { name: '三级黄焖鸡333', cList: [{ name: '四级黄焖鸡' }] }
              ]
            }
          ]
        },
        { name: '2222222222' },
        {
          name: '黄焖鸡米饭333333',
          cList: [{ name: '二级黄焖鸡' }, { name: 'one chicke' }]
        }
      ]
    }
  },
  methods: {}
  
}
</script>